@input-box-height: 35px;

.@{prefixClass}-range {
  width: 502px;
  overflow: hidden;

  &-part {
    width: 250px;
    position: relative;
  }

  &-left {
    float: left;
  }

  &-right {
    float: right;
  }

  &-right .@{prefixClass}-input-wrap {
    margin-left: -39px;
  }

  &-middle {
    position: absolute;
    left: 41%;
    width: 20px;
    margin-left: -10px;
    text-align: center;
    height: @input-box-height;
    line-height: @input-box-height;
  }

  .@{prefixClass}-date-input-wrap,
  .@{prefixClass}-time-picker-wrap {
    width: 37%;
  }

  .@{prefixClass}-time-picker-wrap {
    position: absolute;
    left: 40%;
  }
  .rc-time-picker-input {
    width: 100%;
  }

  .@{prefixClass}-input-wrap {
    height: @input-box-height;
  }
  .@{prefixClass}-input,
  .rc-time-picker-input {
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 1px 7px;
    height: 22px;
  }
  .rc-time-picker-icon {
    display: none;
  }

  .@{prefixClass}-calendar-body,
  .@{prefixClass}-decade-panel-body,
  .@{prefixClass}-year-panel-body,
  .@{prefixClass}-month-panel-body {
    border-bottom: 1px solid #e9e9e9;
  }

  &.@{prefixClass}-week-number {
    width: 574px;

    .@{prefixClass}-range-part {
      width: 286px;
    }
  }

  .@{prefixClass}-year-panel,
  .@{prefixClass}-month-panel {
    top: @input-box-height;
  }
  .@{prefixClass}-month-panel .@{prefixClass}-year-panel {
    top: 0;
  }
  .@{prefixClass}-decade-panel-table,
  .@{prefixClass}-year-panel-table,
  .@{prefixClass}-month-panel-table {
    height: 198px;
  }

  .@{prefixClass}-in-range-cell {
    background: #ebf4f8;
    border-radius: 0;
  }

  &-bottom {
    text-align: right;
  }
  .@{prefixClass}-ok-btn {
    position: static;
    margin: 9px;
  }
  .@{prefixClass}-today-btn {
    margin: 12px 9px 0;
  }
}
